﻿using NewsPortal.DataAccess.Abstraction;
using System.Web.Mvc;

namespace NewsPortal.Modularity.Core
{
    public abstract class ModuleControllerBase<T>: Controller where T: class, IEntity
    {
        public IRepository<T> Repository { get; set; }
        public IUnitOfWork<T> UnitOfWork { get; set; }
    }
}
